const mutations = {
    // 个人用户数据
    saveUserInfo(state, userInfo){
        state.userInfo = userInfo
    },
    // 用户名
    saveUserName(state, userName){
        state.userName = userName
    },
    // 保存nng_uid
    saveNngUserId(state, nngUserId){
        state.nngUserId = nngUserId
    },
    // 保存 groupInfo
    saveGroupInfo(state, groupInfo){
        state.groupInfo = groupInfo
    },
    // 保存头像
    getAvatarUrl(state, avatarUrl){
        state.avatarUrl = avatarUrl
    },
    // 保存用户身份信息
    getUserRole(state, roleInfo){
        state.roleInfo = roleInfo
    }
}

export default mutations
